/*
 * @Description  : 
 * @Author       : zhao
 * @Date         : 2022-06-28 11:16:19
 * @LastEditors  : zhao
 * @LastEditTime : 2022-07-22 18:58:48
 */

import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import table from './modules/table'
import search from './modules/search'
import publics from './modules/publics'
import map from './modules/map'
import ArchiveInfo from './modules/ArchiveInfo'
import borrowCar from './modules/borrowCar'
import borrowForm from './modules/borrowForm'
import collectRecord from './modules/collectRecord'
import searchRecord from './modules/searchRecord'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    user,
    table,
    settings,
    getters,
    search,
    publics,
    map,
    ArchiveInfo,
    borrowCar,
    borrowForm,
    collectRecord,
    searchRecord
  },
  getters
})

export default store
